package be.kul.osgi.ds.comminterface;

public interface CommunicationInterface {
	//public String send(String s);
	
		public void send(String s, String IPAddress);
		
		public void sendmulticast(String s);
		
		//public String receive();
		
		public void receive();
		
		public void addToGroup(String group);

		public void initserver();
		
		public void init(int port);
		
		public void addMyEventListener( MyEventListener l ) ;
	    
	    public void removeMyEventListener( MyEventListener l ) ;
	     
	    public void _fireMyEvent(String m, String sender, int sendersocket);
}
